#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>

int main() {
    double a = 0;
    double b = 0;
    double c = 0;
    string x = 0;
    scanf("%d;%f,%f,%f", &x, &a, &b, &c);
    printf("The each subject score of No. %d is %.2f", x, a);
    printf(",%.2lf", b);
    printf(",%.2lf.", c);
    return 0;
}